package enum1;

public enum HttpCode1 {
    OK(200),NOT_FOUND(404),ERROR(500);

    private int code;

    HttpCode1(int code) {
        this.code = code;
    }

    public int getCode() {
        return code;
    }
}
